<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375,user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>原料库存管理</title>

    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/bootstrap/bootstrap.css">
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/fs/writermaterial.css">

    <script id="business-template" type="text/x-template">
        {{~ it :value:index}}
            <div class="form-check" style="padding-left:0.534rem">
                <input type="radio" class="form-check-input"  name="optradio" value="{{=value.value}}" id='businessType{{=value.value}}'>
                <label class="form-check-label" for="businessType{{=value.value}}"> {{=value.displayName}}</label>
            </div>
        {{~}}
    </script>
</head>

<body>
    <div id="writermaterial">
        <form id="writermaterial-form">
            <div class="weui-cells__group weui-cells__group_form">
                <div class="report-contents-item-box">
                    <div class="weui-cell" style="padding:15px;">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">类型<span class="red-900">&nbsp;*</span></label>
                        </div>
                        <div class="weui-cell__bd" style="display: flex;justify-content: space-between;">
                            <div class="cells-right flexStyle" id="businessType">
                            </div>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding:15px;" id="search-date">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">业务日期<span class="red-900">&nbsp;*</span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="businessTime"
                                placeholder="请选择业务日期...">
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding:15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>组织<span class="red-900">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent towellipse" id="saleOrgs"
                                    placeholder="请选择组织...">
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding:15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>物料编码<span class="red-900">&nbsp;*</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent towellipse" id="materialCode"
                                    placeholder="请选择物料...">
                                </select>
                                <input class="weui-input clearContent masterpad" type="text" id="materialCodes"
                                    style="display: none;">

                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding:15px;">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">物料名称<span class="red-900">&nbsp;*</span></span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="materialName" readonly>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">数量(kg)<span class="red-900">&nbsp;*</span></span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="quantity"
                                placeholder="请输入数量...">
                        </div>
                    </div>
                    <!-- <div class="weui-cell" style="padding:15px;">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">请输入合同单据编号<span class="red-900">&nbsp;&nbsp;</span></span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="contractNum"
                                placeholder="请输入合同单据编号..">
                        </div>
                    </div> -->
                    <div class="weui-cell weui-cell_select" style="padding:15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>合同编号<span class="red-900">&nbsp;</span></span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent towellipse" id="contractNum"
                                    placeholder="请输入合同单据编号...">
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding:15px;">
                        <div class="weui-cell__hd stycon">
                            <label class="weui-label">车牌号<span class="red-900">&nbsp;&nbsp;</span></span></label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent masterpad" type="text" id="carNum"
                                placeholder="请输入车牌号..">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">来源地</label></div>
                        <div class="weui-cell__bd" id="search-intentionCity">
                            <input class="weui-input clearContent ellipse" type="text" id="intentionCity"
                                placeholder="请选择来源地...">
                        </div>
                        <span id="clearCon" class="clearCon"><i
                                class="icon iconfont icon-snh6-cha icon-font-size-12 icon-click"
                                style="font-size: 12px;color: #ccc;" aria-hidden="true"></i>
                        </span>
                    </div>
                </div>
            </div>
            <div id="maskback" class="maskback" style="display: none;">
                <div id="unimportmask" class="unimportmask"></div>
                <div class="intentionMask">
                    <div class="firstrowit">
                        <div id="canvalBtn" style="color: grey;">取消</div>
                        <div>请选择来源地</div>
                        <div id="determineBtn" style="color: #3e8ef7;">确定</div>
                    </div>
                    <div class="secondrowit">
                        <ul id="selectCity" style="margin-bottom: 10px;">
                            <li class="activeStyle towellipse">
                                <span id="provice" class="innerAddress">请选择</span>
                                <div class="uderline underlineit"></div>
                            </li>
                            <li class="towellipse">
                                <span id="city" class="innerAddress"></span>
                                <div class="uderline"></div>
                            </li>
                            <li class="towellipse">
                                <span id="district" class="innerAddress"></span>
                                <div class="uderline"></div>
                            </li>
                        </ul>
                    </div>
                    <div id="intentionContain" class="intentionContain">
                        <div id="provinceContain"></div>
                        <div id="cityContain"></div>
                        <div id="districtContain"></div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                        style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                        id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                        style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                        v-on:click="submit">提交</a>
                </div>
            </div>
        </form>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>

    <script type="module" src="../../../../public/js/features/biz/fs/writermaterial.js"></script>
</body>

</html>